package com.yxh.service;

import java.util.Map;

@SuppressWarnings("rawtypes")
public class Task {
	private int taskID;
	private Map taskParam;

	public static final int GET_LESSON_PACKS = 0;// 输入课程码拉取课程列表
	public static final int ADD_LESSON = 1;// 输入课程码添加
	public static final int SET_CLASS_NODE = 2;// 保存课程时间节点

	public static final int ADD_LESSON_CLASS_FRAGMENT = 3;// 输入课程码添加
	public static final int ADD_LESSON_CLASS_ACTIVITY = 4;// 输入课程码添加

	public static final int ADD_LESSON_FOR_CODE = 5;// 二维码添加课程
	public static final int GET_LESSON_PACKS_CODE = 6;// 二维码添加课程后获取课程信息

	public static final int LOGIN_USER = 7; // 用户登录(登录模式1)
	public static final int GET_CODE = 8; // 获取用户验证码
	public static final int GET_VERSION = 9; // 用户点击获取版本号
	public static final int GET_VERSION2 = 10; // 应用启动自动更新获取版本号
	public static final int SEND_PUSH_USERID = 11;// 主动推送id到业务服务器绑定
	public static final int GET_INIT_DATA = 12;// 获取app初始化数据
	public static final int EDIT_USER_NAME = 13;// 修改用户姓名
	public static final int EDIT_USER_SEX = 14;// 修改用户性别
	public static final int SEND_FEED_BACK = 15;// 意见反馈
	public static final int EDIT_USER_CITY = 16;// 修改用户城市
	public static final int GET_LESSON_LIST = 17;// 获取首页默认课程
	public static final int UPLOAD_USER_PIC = 18; // 修改用户头像

	public static final int GET_MY_LESSON = 19; // 获取我的课程
	public static final int CANCEL_LESSON = 20;// 取消课程
	public static final int GET_MY_LESSON_FRAGMENT = 21; // Fragment获取我的课程
	public static final int CANCEL_LESSON_FRAGMENT = 22;// Fragment取消课程

	public Task(int id, Map param) {
		this.taskID = id;
		this.taskParam = param;
	}

	public int getTaskID() {
		return taskID;
	}

	public void setTaskID(int taskID) {
		this.taskID = taskID;
	}

	public Map getTaskParam() {
		return taskParam;
	}

	public void setTaskParam(Map taskParam) {
		this.taskParam = taskParam;
	}

}
